#!/usr/local/bin/python3.6
# coding:utf-8
# @Time    : 2019/11/14 17:43
# @Author  : ZhangBing
# @Email   : 18829272841@163.com
# @File    : app.py
# @Software: PyCharm
from flask import Flask
import config
from user.view import user
from base import base
from exts import db
from post.post import post

app = Flask(__name__)
db.init_app(app)
app.config.from_object(config)
app.register_blueprint(user, url_prefix='/user')
app.register_blueprint(post, url_prefix='/post')
app.register_blueprint(base, url_prefix='/')

if __name__ == "__main__":
    pass
